/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package miniprojet.Models;

import java.util.ArrayList;

/**
 *
 * @author cynthia
 */
public class Canal {
    private boolean reproduire;
    private ArrayList<Byte> flux;
    
    public Canal()
    {
        this.reproduire = true;
        flux = new ArrayList<Byte>();
    }
    
    void ajouterOctet(byte octet)
    {
        this.flux.add(octet);
    }
    
    public Canal selectionerFragment(boolean copier, int debut, int fin)
    {
        throw new UnsupportedOperationException("Not yet implemented");
    }
    
    public void ajouterFragment(Canal fragment, int position)
    {
        throw new UnsupportedOperationException("Not yet implemented");
    }
}
